package com.khtn.model;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the apis database table.
 * 
 */
@Entity
@Table(name="apis")
@NamedQuery(name="Api.findAll", query="SELECT a FROM Api a")
public class Api implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="api_id")
	private int apiId;

	@Column(name="api_name")
	private String apiName;

	@Column(name="api_parent_id")
	private int apiParentId;

	@Column(name="api_type")
	private String apiType;

	public Api() {
	}

	public int getApiId() {
		return this.apiId;
	}

	public void setApiId(int apiId) {
		this.apiId = apiId;
	}

	public String getApiName() {
		return this.apiName;
	}

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}

	public int getApiParentId() {
		return this.apiParentId;
	}

	public void setApiParentId(int apiParentId) {
		this.apiParentId = apiParentId;
	}

	public String getApiType() {
		return this.apiType;
	}

	public void setApiType(String apiType) {
		this.apiType = apiType;
	}

}